﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel.Web;

namespace Microsoft.IdentityModel.OAuth
{
    public class OAuthServiceHost : WebServiceHost
    {
        internal OAuthIssuerConfiguration Configuration { get; set; }

        public OAuthServiceHost(OAuthIssuerConfiguration config)
            : this(config, null) { }

        public OAuthServiceHost(OAuthIssuerConfiguration config, Uri baseAddress)
            : base(typeof(OAuthIssuerContract), baseAddress)
        {
            this.Configuration = config;
        }
    }
}
